
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGField.h>
#include <OpenSG/OSGStringConversionStateBase.h>

// Using =======================================================================
using namespace boost::python;

// Module ======================================================================
void Export_src_pyste_Field()
{
    class_< osg::Field, boost::noncopyable >("Field", no_init)
        .def("getType", &osg::Field::getType, return_internal_reference< 1 >())
        .def("getContentType", &osg::Field::getContentType, return_internal_reference< 1 >())
        .def("getCardinality", &osg::Field::getCardinality)
        .def("isEmpty", &osg::Field::isEmpty)
        .def("getSize", &osg::Field::getSize)
        .def("pushValueByStr", &osg::Field::pushValueByStr)
        .def("getValueByStr", (std::string& (osg::Field::*)(std::string&) const)&osg::Field::getValueByStr, return_internal_reference< 1 >())
        .def("getValueByStr", (std::string& (osg::Field::*)(std::string&, osg::StringConversionStateBase&) const)&osg::Field::getValueByStr, return_internal_reference< 1 >())
        .def("getValueByStr", (std::string& (osg::Field::*)(std::string&, osg::UInt32) const)&osg::Field::getValueByStr, return_internal_reference< 1 >())
        .def("setAbstrValue", &osg::Field::setAbstrValue)
        .def("dump", &osg::Field::dump)
    ;

}

